﻿namespace Minecraft.Model
{
	/// <summary>
	/// 协议长度
	/// </summary>
	public static class ProtocolLen
	{
		/// <summary>
		/// 协议长度
		/// </summary>
		public const int Length = 8;
	}

	/// <summary>
	/// 协议枚举
	/// </summary>
	public enum EnumCommand
	{
		/// <summary>
		/// 测试
		/// </summary>
		Test_TestCmd = 1001,


		/// <summary>
		/// 数据包测试
		/// </summary>
		Test_TestDataPack,
		/// <summary>
		/// 指令执行
		/// </summary>
		Test_TestDirective,


		/// <summary>
		/// 心跳包 数据
		/// </summary>
		Heart_HeartData,


		/// <summary>
		/// 连接成功
		/// </summary>
		Conn_Success,
		/// <summary>
		/// 连接关闭
		/// </summary>
		Conn_Close,


		/// <summary>
		/// 处理异常
		/// </summary>
		Handle_HandleException,
		/// <summary>
		/// 处理未知请求
		/// </summary>
		Handle_HandleUnknownRequest,


		/// <summary>
		/// 玩家登录
		/// </summary>
		Player_PlayerLogin,


		/// <summary>
		/// 背包物品插入
		/// </summary>
		Backpack_BackpackGoodsInsert,
		/// <summary>
		/// 背包物品查询
		/// </summary>
		Backpack_BackpackGoodsSelect,
		/// <summary>
		/// 背包物品交换（快捷栏、背包、存储家具、宝箱共用）
		/// </summary>
		Backpack_BackpackGoodsExchange,
		/// <summary>
		/// 背包物品删除
		/// </summary>
		Backpack_BackpackGoodsDelete,
		/// <summary>
		/// 背包物品拆分
		/// </summary>
		Backpack_BackpackGoodsSplit,
		/// <summary>
		/// 背包物品使用
		/// </summary>
		Backpack_BackpackGoodsUse,
		/// <summary>
		/// 从其他地方的物品全部物品拿走放到背包（针对存储家具）
		/// </summary>
		Backpack_BackpackTakeGoods,


		/// <summary>
		/// 装备物品查询
		/// </summary>
		Equipment_EquipmentGoodsSelect,
		/// <summary>
		/// 装备物品穿戴
		/// </summary>
		Equipment_EquipmentGoodsSattireIn,
		/// <summary>
		/// 装备物品卸下
		/// </summary>
		Equipment_EquipmentGoodsUnsnatch,

		/// <summary>
		/// 已经建造的家具列表查询
		/// </summary>
		Furniture_FurnitureListSelect,

		/// <summary>
		/// 产出家具Id列表查询（临时）
		/// </summary>
		Furniture_FurnitureOutputTypeListSelectTemp,
		/// <summary>
		/// 产出家具信息查询
		/// </summary>
		Furniture_FurnitureOutputInfoSelect,
		/// <summary>
		/// 产出家具物品移动
		/// </summary>
		Furniture_FurnitureOutputGoodsMove,

		/// <summary>
		/// 家具移除（产出家具，存储家具共用）
		/// </summary>
		Furniture_FurnitureOutputRemove,

		/// <summary>
		/// 产出家具升级信息查询
		/// </summary>
		Furniture_FurnitureOutputUpgradeSelect,
		/// <summary>
		/// 产出家具升级物品移动
		/// </summary>
		Furniture_FurnitureOutputUpgradeGoodsMove,
		/// <summary>
		/// 产出家具升级操作
		/// </summary>
		Furniture_FurnitureOutputUpgrade,
		
		/// <summary>
		/// 产出家具修理信息查询
		/// </summary>
		Furniture_FurnitureOutputRepairSelect,
		/// <summary>
		/// 产出家具修理物品移动
		/// </summary>
		Furniture_FurnitureOutputRepairGoodsMove,
		/// <summary>
		/// 产出家具修理操作
		/// </summary>
		Furniture_FurnitureOutputRepair,

		/// <summary>
		/// 机关家具触发
		/// </summary>
		Furniture_FurnitureMechanismTouch,




		/// <summary>
		/// 好友信息插入
		/// </summary>
		Friend_FriendInsert,
		/// <summary>
		/// 朋友列表查询
		/// </summary>
		Friend_FriendListSelect,


		/// <summary>
		/// 地图查询（New）
		/// </summary>
		Map_MapSelectNew,
		/// <summary>
		/// 地图之间的移动（New）
		/// </summary>
		Map_MapMoveNew,
		/// <summary>
		/// 目标地图查询
		/// </summary>
		Map_MapTargetMapSelect,
		/// <summary>
		/// 地图中的预制资源查询
		/// </summary>
		Map_MapPrefabSourceSelect,
		/// <summary>
		/// 地图解锁
		/// </summary>
		Map_MapDeblocking,


		/// <summary>
		/// 蓝图信息查询
		/// </summary>
		Blueprint_BlueprintSelect,
		/// <summary>
		/// 蓝图学习
		/// </summary>
		Blueprint_BlueprintStudy,
		/// <summary>
		/// 蓝图制造
		/// </summary>
		Blueprint_BlueprintMake,


		///// <summary>
		///// 传送功能（进入大地图界面）
		///// </summary>
		//Portal_PortalToBigMap,
		///// <summary>
		///// 传送功能（进入小地图界面）
		///// </summary>
		//Portal_PortalToSmallMap,


		/// <summary>
		/// 幸存者信息列表查询
		/// </summary>
		Survivor_SurvivorListSelect,

		/// <summary>
		/// 宝箱列表查询
		/// </summary>
		Treasurebox_TreasureboxListSelect,


		/// <summary>
		/// 资源采集
		/// </summary>
		Resource_ResourceCollect,


		/// <summary>
		/// 玩家被攻击
		/// </summary>
		Player_PlayerBeAttacked,
		/// <summary>
		/// 玩家重生
		/// </summary>
		Player_PlayerRenascence,
		/// <summary>
		/// 击杀怪物
		/// </summary>
		Monster_MonsterKill,

	}
}
